{extend name="public/base"/}
{block name="body"}
<div class="main-box no-header clearfix">
	
	<!-- 标题栏 -->
	
	<div class="main-box-body clearfix">
		<ul class="nav nav-tabs">
			<li>
				<a href="{:url('user/info')}">个人资料</a>
			</li>
			<li  class="active">
				<a href="{:url('user/gatherinfo')}">收款信息</a>
			</li>
			<li >
				<a href="{:url('user/editpwd')}">修改密码</a>
			</li>
		</ul>

		<div class="form-horizontal">
		
			<div class="form-group" style="margin-top:15px;">
				<label class="col-lg-2 control-label">收款方式：</label>
				<div class="col-lg-6 col-sm-10  form-control-static">
					{switch name="info.payment_type" }
						{case value="bank" }银行卡{/case}
						{case value="alipay"}支付宝{/case}
						{case value="weixin"}微信{/case}
						{default /}未配置
					{/switch}
				</div>
			</div>
			{if $info.payment_type =="bank"}
				<div class="form-group">
					<label class="col-lg-2 control-label">持卡人姓名：</label>
					<div class="col-lg-6 col-sm-10 form-control-static">
						{$info.card_holder_name}
					</div>
				</div>
				<div class="form-group">
					<label class="col-lg-2 control-label">卡号：</label>
					<div class="col-lg-6 col-sm-10  form-control-static">
						{$info.card_number}
					</div>
				</div>
				<div class="form-group">
					<label class="col-lg-2 control-label">开户行：</label>
					<div class="col-lg-6 col-sm-10  form-control-static">
						{$info.card_bank_name}<br/>{$info.card_bank_province}<br/>{$info.card_bank_city}<br/>{$info.card_bank_branch}
					</div>
				</div>
			{/if}
			{if $info.payment_type =="alipay"}
			<div class="form-group">
				<label class="col-lg-2 control-label">帐号：</label>
				<div class="col-lg-6 col-sm-10  form-control-static">
					{$info.alipay_account_number}
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">姓名：</label>
				<div class="col-lg-6 col-sm-10  form-control-static">
					{$info.alipay_account_name}
				</div>
			</div>
			{/if}
			{if $info.payment_type =="weixin"}
				<div class="form-group">
					<label class="col-lg-2 control-label">微信号：</label>
					<div class="col-lg-6 col-sm-10  form-control-static">
						{$info.weixin_account}
					</div>
				</div>
				<div class="form-group">
					<label class="col-lg-2 control-label">昵称：</label>
					<div class="col-lg-6 col-sm-10  form-control-static">
						{$info.weixin_nickname}
					</div>
				</div>
			{/if}
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<a href="{:url('user/gathering',array("id"=>$uid))}" class="btn btn-primary">更改收款信息</a>
				</div>
			</div>
		</div>	
		
	</div>
</div>
{/block}